package team.star.werespos.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import team.star.werespos.model.entity.Role;

import java.util.List;

/**
 * RoleMapper interface<br/>
 *
 * @author CAI
 * @since 2019/04/09
 */
public interface RoleMapper extends BaseMapper<Role> {

    List<Role> listRoles();

    Role getRole(@Param("rid") Integer rid);
}
